home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1996 September
/
JCSM Shareware Collection (JCS Distribution) (September 1996).ISO
/
bother__
/
cenvid.zip
/
CENVIDOS.ZIP
/
ISDAY_2.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-03-28
|
745b
|
14 lines
@echo OFF
REM *************************************************************************
REM *** IsDay_2.bat - This is like IsDay_1.bat (Set ErrorLevel 1 if it is ***
REM *** ver.1 requested day of the week, and ErrorLeve 0 if not), ***
REM *** but accomplishes this in only one quick call to ***
REM *** CEnviD. Unlike IsDay_1.bat, this does no error ***
REM *** checking and provides no help. ***
REM *************************************************************************
CEnviD day="%1" day[3]=0 return( strstr(strupr(ctime(time())),strupr(day)) ? 1 : 0 )
if ErrorLevel 1 ECHO Yes, today is %1
if not ErrorLevel 1 ECHO No, today is not %1